﻿using System.Net;

namespace BlackJack.Game.Models
{
    public class TableInfo
    {
        public string TableName { get; set; }

        public IPEndPoint EndPoint { get; set; }

        public TableInfo(string tableName)
        {
            TableName = tableName;
            EndPoint = null;
        }

        public TableInfo(string tableName, IPEndPoint endPoint)
        {
            TableName = tableName;
            EndPoint = endPoint;
        }
    }
}
